package com.aisi.manager.mapper;

import com.aisi.model.dto.system.SysUserDto;
import com.aisi.model.entity.system.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: shenjianZ
 * @Date: 2024/2/16 20:09
 * @Description:
 */

@Mapper
public interface SysUserMapper {

    SysUser getUserInfoByUsername(String userName);

    List<? extends SysUser> findSysUserByPage(SysUserDto sysUserDto);

    void saveSysUser(SysUser sysUser);

    void updateSysUser(SysUser sysUser);

    void deleteSysUserById(Long id);
}
